/**
 * Copyright 2009 Takahiko Ito
 *
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.unigram.oluolu.ngram;

/** 
 * Settings for NgramExtraction. 
 */
public final class NgramConstants {

    /** symbol: maximum gram lengh. */
    public static final String NGRAM_MINIMUM_GRAM
        = "oluolu.ngram.minimum.gram";

    /** symbol: minimum gram length. */
    public static final String NGRAM_MAXIMUM_GRAM
        = "oluolu.ngram.maximum.gram";

    /** symbol: minimum support to extract. */
    public static final String NGRAM_MINIMUM_SUPPORT
        = "oluolu.ngram.minimum.support";

    /** symbol: suffix of the output ngram file. */
    public static final String NGRAM_SUFFIX
        = "oluolu.ngram.suffix";

    /** default: maximum gram length. */
    public static final int DEFAULT_NGRAM_MINIMUM_GRAM = 1;

    /** default: minimum gram length. */
    public static final int DEFAULT_NGRAM_MAXIMUM_GRAM = 2;

    /** default: minimum frequencies. */
    public static final long DEFAULT_NGRAM_MINIMUM_SUPPORT = 1;

    /** default: suffix of ngram file. */
    public static final String DEFAULT_NGRAM_SUFFIX = "ngram";
    
    /** For safe. */
    private NgramConstants() {};
}
